Skip to content

Navbar, and Primary nav#137

Draft
alexiscott wants to merge 3 commits into2.xfrom
primary-nav
Draft

Navbar, and Primary nav#137
alexiscott wants to merge 3 commits into2.xfrom
primary-nav

Conversation

@alexiscott
Copy link
Copy Markdown
Contributor

No description provided.

@alexiscott alexiscott marked this pull request as draft March 9, 2021 17:08
<ul className="usa-nav__primary usa-accordion">
{items.map((item, index) => (
<li key={index} className="usa-nav__primary-item">
<a href={item.url}>{item.label}</a>
Copy link
Copy Markdown
Contributor Author

@alexiscott alexiscott Mar 9, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @dgading
I tried adding

 <DynamicLink
   key={index}
   url={item.url}
   content={item.label} />

But got an error relating to the urlValidator. Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant